home *** CD-ROM | disk | FTP | other *** search
/ Linux Programs 1995 Summer / Linux Programs.iso / sounds / adagio03.rea next >
Text File  |  1995-04-15  |  3KB  |  85 lines

  1. Adagio, etc. for Linux -- Release 0.3, March, 1993
  2.  
  3. Here are some Linux programs for playing on an fm sound card using
  4. Hannu Savolainen's sound driver for Linux.  Both midi files and
  5. Adagio scores can be played.  Adagio is the scoring language used by
  6. the CMU CMT package by Roger Dannenberg.  Much of the program code
  7. here, in fact, is from the CM Toolkit.  Other code I took from Tim
  8. Thompson's Midifiles library as enhanced by M. Czeiszperger, and the
  9. code for playing fm is taken from "fmplay" by Hannu Savolainen.
  10.  
  11. (1) mp  plays midi files or converts them to adagio scores.
  12.  
  13. (2) ad    plays a .gio adagio score, or with the -m flag sends
  14.     midi track information to stdout (save that in a file
  15.     and convert it to a midi file with the tracks utility).
  16.  
  17. (3) tracks
  18.     adds header information to one or more files
  19.     created with "ad -m" to form a standard midi file.
  20.     Output is to stdout.
  21.  
  22. (4) fmkeys
  23.     plays from a keyboard connected to the external midi port.
  24.  
  25. (5) mt    disassembles midi files.
  26.  
  27. (6) tm    assembles one or more midi disassemblies produced by mt.
  28.  
  29. (7) setsb
  30.     loads program libraries down to the sound driver.
  31.  
  32. Installation:
  33.  
  34. Check "DESTDIR" in the Makefile, and also the XSELECT and PSELECT
  35. defines; then "make install".  Copy the files "std.sb" and "drums.sb"
  36. to the /etc directory and use "setsb" to load the voices into the
  37. sound card driver.  For other options and details, see the INSTALL
  38. document.
  39.  
  40. Availability of related stuff:
  41.  
  42. Tim Thompson's Midifiles library was posted to rec.music.synth and
  43. is available by ftp from ucsd.edu as midi/software/unix/midifiles.tar.Z.
  44. (But the version included here has been modified by M. Czeiszperger
  45. and me.)
  46.  
  47. The CMT manual, which describes the conventions of Adagio scores,
  48. was posted to rec.music.synth, and along with the rest of the CMT
  49. package is available by ftp from ucsd.edu as:
  50.     midi/software/unix/CMT.tar.Z.
  51. An ascii version is included in this distribution as "cmtman.doc".
  52.  
  53. The voice libraries "std.sb" and "drums.sb" can be edited with glib
  54. for the SoundBlaster, which I've released separately.
  55.  
  56.  
  57. Usage:
  58.  
  59. There are man pages for all programs.  In short,
  60.  
  61. to play a midi file:    % mp filename
  62. to play a midi file and display info about voices:
  63.             % mp -v filename
  64. to play an adagio file:    % ad filename
  65. to disassemble a midi file:
  66.             % mt filename >song.mt
  67. to reassemble a midi file:
  68.             % tm song.mt
  69. to play and record an additional track (assuming midi input from a keyboard):
  70.             % mp rhythm.mid -r 3,56  # record trumpet on channel 3
  71.             % mt rhythm.mid >mysong.mt
  72.             % mt mpout.mid >mytrack.mt
  73.             % tm mysong mytrack     # produces mysong.mid
  74.  
  75. Examples of conversion between midi and Adagio files:
  76.     % ad -m contin >contin.trk        # compile adagio file contin.gio
  77.     % tracks contin.trk >contin.mid        # make a midi file of one track
  78.     % ad -m all >all.trk            # compile adagio file all.gio
  79.     % tracks contin.trk all.trk >mult.mid    # make two track midi file
  80.     % mp -a mult.mid >mult.gio        # decompile midi file to adagio file
  81.     % ad mult                # play new composition (ecch)
  82.  
  83.  
  84.                     Greg Lee, lee@uhunix.uhcc.hawaii.edu
  85.